import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
    state: {
        user: {name: "store", id: 1},
        // openid: "o-B3q1fzZ_eK-wejsR0S_nIqCO-o",
        openid: "",
        orderNo: "",
        freeInfoList: [],
        medicineList: [],
        free: 0,
        inited: false,
        doctor: null,
        apply: null,
        patient: null,
        adviceType: 0,
        keepAccept:false,
        addr: null,
        diagMain: "",  //主诊
        diagSecond: "",  //次诊
        // openid:"o-B3q1fzZ_eK-wejsR0S_nIqCO-o"
    },
    mutations: {},
    actions: {}
})
